home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / windownt / queue.zip / QUEUE / MAKEFILE next >
Text File  |  1992-10-10  |  1KB  |  48 lines

  1. # Nmake macros for building Windows 32-Bit apps
  2.  
  3. !include <ntwin32.mak>
  4.  
  5. # This line allows NMAKE to work as well
  6.  
  7. all: queue.dll qsrv.exe qclient.exe
  8.  
  9. # Update the object files if necessary
  10.  
  11. queue.obj: queue.c
  12.     $(cc) -DDEVL $(cflags) $(cvars) queue.c
  13.  
  14. qsrv.obj: qsrv.c queue.h
  15.     $(cc) -DDEVL $(cflags) $(cvars) qsrv.c
  16.  
  17. qclient.obj: qclient.c queue.h
  18.     $(cc) -DDEVL $(cflags) $(cvars) qclient.c
  19.  
  20. # Update the import library
  21.  
  22. # queue.lib: queue.obj queue.def
  23. queue.lib: queue.def
  24.     lib -machine:$(CPU)      \
  25.     -def:queue.def         \
  26.     -out:queue.lib
  27.  
  28. # Update the dynamic link library
  29.  
  30. queue.dll: queue.obj queue.lib queue.def 
  31.     $(link)              \
  32.     -base:0x1C000000     \
  33.     -dll                 \
  34.     -entry:QueueEntry   \
  35.     -out:queue.dll      \
  36.     queue.exp queue.obj ..\shrmem\shrmem.lib $(guilibs) 
  37.  
  38.  
  39. qclient.exe: qclient.obj ..\shrmem\shrmem.lib queue.lib ..\ms_ssed\myopt.obj
  40.     $(link) $(conflags) -out:qclient.exe qclient.obj ..\ms_ssed\myopt.obj ..\shrmem\shrmem.lib queue.lib $(conlibs)
  41.  
  42. qsrv.exe: qsrv.obj ..\shrmem\shrmem.lib queue.lib ..\ms_ssed\myopt.obj
  43.     $(link) $(conflags) -out:qsrv.exe qsrv.obj ..\ms_ssed\myopt.obj ..\shrmem\shrmem.lib queue.lib $(conlibs)
  44.  
  45.  
  46.  
  47.  
  48.